home *** CD-ROM | disk | FTP | other *** search
/ EnigmA Amiga Run 1996 June / EnigmA AMIGA RUN 08 (1996)(G.R. Edizioni)(IT)[!][issue 1996-06][EARSAN CD VII].iso / earcd / utmisc1 / chktex.lha / chktex / chkweb.in < prev    next >
Text File  |  1996-04-30  |  1KB  |  35 lines

  1. #! @TCSH@
  2.  
  3. ;#  ChkWEB v1.0, runs the LaTeX parts of a CWEB file through ChkTeX.
  4. ;#  Copyright (C) 1996 Jens T. Berger Thielemann
  5. ;#
  6. ;#  This program is free software; you can redistribute it and/or modify
  7. ;#  it under the terms of the GNU General Public License as published by
  8. ;#  the Free Software Foundation; either version 2 of the License, or
  9. ;#  (at your option) any later version.
  10. ;#
  11. ;#  This program is distributed in the hope that it will be useful,
  12. ;#  but WITHOUT ANY WARRANTY; without even the implied warranty of
  13. ;#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  14. ;#  GNU General Public License for more details.
  15. ;#
  16. ;#  You should have received a copy of the GNU General Public License
  17. ;#  along with this program; if not, write to the Free Software
  18. ;#  Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  19. ;#
  20. ;#  Contact the author at:
  21. ;#        Jens Berger
  22. ;#        Spektrumvn. 4
  23. ;#        N-0666 Oslo
  24. ;#        Norway
  25. ;#        E-mail: <jensthi@ifi.uio.no>
  26.  
  27.  
  28. foreach file ($argv)
  29.      if(-r $file) then
  30.         deweb $file | chktex -p $file -v3
  31.      else
  32.         deweb ${file}.w | chktex -p ${file}.w -v3
  33.      endif
  34. end
  35.